package com.ctsi.ssdc.repository;

import com.ctsi.ssdc.domain.LitemallUser;
import com.ctsi.ssdc.domain.LitemallUserExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Param;

/**
 * @author ctsi-biyi-generator
*/
@Mapper
public interface LitemallUserRepository extends BaseRepository<LitemallUser, Integer, LitemallUserExample> {
    @Override
    long countByExample(LitemallUserExample example);

    @Override
    int deleteByExample(LitemallUserExample example);

    @Override
    int deleteByPrimaryKey(Integer id);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insert(LitemallUser record);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insertSelective(LitemallUser record);

    @Override
    List<LitemallUser> selectByExample(LitemallUserExample example);

    @Override
    LitemallUser selectByPrimaryKey(Integer id);

    @Override
    int updateByExampleSelective(@Param("record") LitemallUser record, @Param("example") LitemallUserExample example);

    @Override
    int updateByExample(@Param("record") LitemallUser record, @Param("example") LitemallUserExample example);

    @Override
    int updateByPrimaryKeySelective(LitemallUser record);

    @Override
    int updateByPrimaryKey(LitemallUser record);

    LitemallUser selectOneByExample(LitemallUserExample example);
}